import java.util.Scanner;

public class Resolve {
	public static void main(String[] args) {
		// 将一个正整数分解质因数

		Scanner input = new Scanner(System.in);
		System.out.print("请输入一个正整数：");
		int num = input.nextInt();
		int date = 2;
		System.out.print(num + "=");
		for (; num != 1;) {
			if (num % date == 0) {
				num = num / date;
				System.out.print(date);
				if (num != 1)// 避免最后多一个*号
					System.out.print("*");
			} else {
				date++;
			}
		}

	}

}
